<template>
    <div>
        <canvas ref="verify" :width="width" :height="height" @click="handleDraw"></canvas>
    </div>
</template>

<script setup>
import { ref, onMounted } from "vue"
import { setVerify } from "../../hooks/Verify"
const verify = ref(null)
const { width, height, handleDraw, imgCode, pool } = setVerify(verify)

defineExpose({
    childData: imgCode,
})
</script>

<style scoped>

</style>
